<meta charset="utf-8">
<style type="text/css">
th{
    width: 9em;
}
tr,td{
    border: 1px #ADBFCD solid;
}
</style>
<g:if test="${customerRecGoodsList.size() > 0}">
    <!-- 客户来货 -->
    <div style="margin:0px auto; width:96%;">
        <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
            <tr>
                <th width="50">NO.</th>
                <th width="200">客户来货(套)</th>
                <g:each in="${dateList}" status="i" var="headInstance">
                    <th width="100">${headInstance.TRANS_TIME}</th>
                </g:each>
            </tr>
            </thead>
            <tbody>
            <g:each in="${customerRecGoodsList}" status="i" var="dataInstance">
                <tr>
                    <td>${i + 1}</td>
                    <td>${dataInstance.CUSTOMER}</td>
                    <g:each in="${dateList}" status="j" var="headInstance">
                        <td>${dataInstance[headInstance.TRANS_TIME]}</td>
                    </g:each>
                </tr>
            </g:each>
            </tbody>
        </table>
    </div>
</g:if>
<g:if test="${customerDelGoodsList.size() > 0}">
    <!-- 客户发货 -->
    <div style="margin:20px auto; width:96%;">
        <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
            <tr>
                <th width="50">NO.</th>
                <th width="200">客户发货(套)</th>
                <g:each in="${dateList}" status="i" var="headInstance">
                    <th width="100">${headInstance.TRANS_TIME}</th>
                </g:each>
            </tr>
            </thead>
            <tbody>
            <g:each in="${customerDelGoodsList}" status="i" var="dataInstance">
                <tr>
                    <td>${i + 1}</td>
                    <td>${dataInstance.CUSTOMER}</td>
                    <g:each in="${dateList}" status="j" var="headInstance">
                        <td>${dataInstance[headInstance.TRANS_TIME]}</td>
                    </g:each>
                </tr>
            </g:each>
            </tbody>
        </table>
    </div>
</g:if>
<g:if test="${projectRecGoodsList.size() > 0}">
    <!-- 项目（课别+部门）来货 -->
    <div style="margin:20px auto; width:96%;">
        <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
            <tr>
                <th width="50">NO.</th>
                <th width="200">课别+部门 来货(套)</th>
                <g:each in="${dateList}" status="i" var="headInstance">
                    <th width="100">${headInstance.TRANS_TIME}</th>
                </g:each>
            </tr>
            </thead>
            <tbody>
            <g:each in="${projectRecGoodsList}" status="i" var="dataInstance">
                <tr>
                    <td>${i + 1}</td>
                    <td>${dataInstance.KEBIE_DEPT}</td>
                    <g:each in="${dateList}" status="j" var="headInstance">
                        <td>${dataInstance[headInstance.TRANS_TIME]}</td>
                    </g:each>
                </tr>
            </g:each>
            </tbody>
        </table>
    </div>
</g:if>
<g:if test="${totalList.size() > 0}">
    <!-- 总体状况 -->
    <div style="margin:20px auto; width:96%;">
        <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
            <tr>
                <th width="50">NO.</th>
                <th width="200">总体状况(套)</th>
                <g:each in="${dateList}" status="i" var="headInstance">
                    <th width="100">${headInstance.TRANS_TIME}</th>
                </g:each>
            </tr>
            </thead>
            <tbody>
            <g:each in="${totalList}" status="i" var="dataInstance">
                <tr>
                    <td>${i + 1}</td>
                    <td>${dataInstance.CLAZZ}</td>
                    <g:each in="${dateList}" status="j" var="headInstance">
                        <td>${dataInstance[headInstance.TRANS_TIME]}</td>
                    </g:each>
                </tr>
            </g:each>
            </tbody>
        </table>
    </div>
</g:if>